package com.example.springboot.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Earnings {
    private int orderId;
    private String orderType;
    private int merchantId;
    private int userId;
    private BigDecimal platformEarnings;
    private BigDecimal merchantEarnings;
    private Timestamp createdAt;
    private Integer pointId;

    // Getters and Setters
    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public int getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(int merchantId) {
        this.merchantId = merchantId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public BigDecimal getPlatformEarnings() {
        return platformEarnings;
    }

    public void setPlatformEarnings(BigDecimal platformEarnings) {
        this.platformEarnings = platformEarnings;
    }

    public BigDecimal getMerchantEarnings() {
        return merchantEarnings;
    }

    public void setMerchantEarnings(BigDecimal merchantEarnings) {
        this.merchantEarnings = merchantEarnings;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Integer getPointId() {
        return pointId;
    }

    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }
}
